@import 'base';
@import 'mixin';
@import 'cover';

@font-face {
    font-family: 'AlibabaPuHuiTiR';
    src: url('~@/assets/font/alibabaPuHuiTi/Alibaba-PuHuiTi-Regular.ttf');
}

@font-face {
    font-family: 'AlibabaPuHuiTiM';
    src: url('~@/assets/font/alibabaPuHuiTi/Alibaba-PuHuiTi-Medium.ttf');
}

@font-face {
    font-family: 'AlibabaPuHuiTiB';
    src: url('~@/assets/font/alibabaPuHuiTi/Alibaba-PuHuiTi-Bold.ttf');
}

@font-face {
    font-family: 'AlibabaPuHuiTiH';
    src: url('~@/assets/font/alibabaPuHuiTi/Alibaba-PuHuiTi-Heavy.ttf');
}
@font-face {
    font-family: 'BebasNeue';
    src: url('~@/assets/font/BebasNeue-Regular.ttf');
}

.fah {
    font-family: AlibabaPuHuiTiH, sans-serif;
}
.fab {
    font-family: AlibabaPuHuiTiB, sans-serif;
}
.fam {
    font-family: AlibabaPuHuiTiM, sans-serif;
}
.far {
    font-family: AlibabaPuHuiTiR, sans-serif;
}
.fb {
    font-family: BebasNeue, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: unset;
}

::-webkit-scrollbar {
    //滚动条整体样式 高宽分别对应横竖滚动条的尺寸
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    //滚动条里面小方块
    border-radius: 4px;
    background: $color-primary;
}

::-webkit-scrollbar-track {
    //滚动条里面轨道
    border-radius: 4px;
    background: #efefef;
}

body,
html {
    margin: 0;
    padding: 0;
    background: #fff;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    width: 100%;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
        Segoe UI Emoji;
}

#app {
    width: 100%;
    height: 100%;
}

.content {
    width: 100%;
    height: 100%;
    position: relative;
}

.title {
    color: #162146;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-family: AlibabaPuHuiTiB;
    margin: 0 30px 25px;
    button {
        font-size: 14px;
        font-family: AlibabaPuHuiTiR;
    }
}
.tree-content {
    background-color: white;
    margin-right: 20px;
    padding: 15px 10px 0 10px;
    border-radius: 10px;
    overflow: auto;
    width: 20%;
    box-shadow: 0px 0px 6px 0px #e0e0e0;
}
.table,
.content-rb {
    background: white;
    border-radius: 5px;
    height: calc(100vh - 232px);
    overflow-y: auto;
    padding: 30px 20px;
    width: 100%;
    > button {
        float: right;
    }
}
.have-headerfilter-content-rb {
    @extend .content-rb;
    height: calc(100vh - 312px);
}
.have-header-content-rb {
    @extend .content-rb;
    height: calc(100vh - 249px);
}
.primary-color {
    color: #1890ff;
}
.danger-color {
    color: red;
}
.warning-color {
    color: #faad14;
}
.in-table {
    td,
    th {
        padding: 5px;
    }
    th {
        opacity: 0.8;
    }
    &_empty {
        margin: 5px 0;
    }
    tr:hover {
        background: #e6f4ff;
    }
    thead tr:hover {
        background: transparent;
    }
    .operate-btn {
        cursor: pointer;
        width: 95%;
    }
}

.yellow {
    color: #ffba69;
}
.blue {
    color: #00b928;
}
.gray {
    color: #9aa2af;
}
.green {
    color: #00b928;
}
.red {
    color: #ff2d2e;
}
.apply-item-icon {
    width: 4px;
    height: 24px;
    background: #0062ff;
}
